package com.ruan.service;

import com.ruan.dao.AddressMapper;
import com.ruan.pojo.Address;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName:AddressService
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/6/19 19:28
 **/
@Service
public class AddressService {

    @Autowired
    private AddressMapper addressMapper;
    public Address getAddressById(Integer id) {

        return addressMapper.getAddressById(id);

    }
}
